package com.ccp.dev.qbdms.dao;

import com.ccp.dev.core.basic.base.IBaseMapper;
import com.ccp.dev.qbdms.model.WQbdTecBasicmanage;
import org.apache.ibatis.annotations.Mapper;
import com.ccp.dev.core.basic.web.query.QueryFilter;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

/**
 * 课题 信息数据库操作类
 *
 * @author zhl
 * @date 2020-05-25 15:16:53
 */
@Mapper
public interface WQbdTecBasicmanageDao extends IBaseMapper<WQbdTecBasicmanage,String> {

    List<WQbdTecBasicmanage> queryAll(QueryFilter queryFilter);

    /**
     * 流程审批页面查询通过的数据
     * @param dataId
     * @return
     */
    List<WQbdTecBasicmanage> reportList(@Param("dataId") String dataId, @Param("tableName") String tableName);

    List<WQbdTecBasicmanage> getAll(HashMap hashMap);

    WQbdTecBasicmanage getParentAndChilden(String id);
}
